package top.huhuiyu.spirngboot2.total.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import top.huhuiyu.spirngboot2.total.entity.TbUser;

@Mapper
public interface TbUserDAO extends BaseMapper<TbUser> {

    @Select("select * from tb_user where username=#{username}")
    public TbUser queryByName(String username);
}
